<html>
<link href="/access/css/init.css" rel="stylesheet">
<link href="/access/css/success.css" rel="stylesheet">
<body>
<div class="success-status">
    <h4>┭┮﹏┭┮!!</h4> <br>
    <h2><a onclick="javascript:window.history.go(-1)" class="error">{$info}</a></h2>
    <br> <span class="time">{$time}</span> 秒后返回。
</div>
<script src="/access/vendors/jquery/dist/jquery.min.js"></script>

<script>
    var time = parseInt("{$time}");
    var url = "{$url}";

    var count       = 0;
    var interval    = setInterval(function() {
        ++count;
        $('.time').html(time - count);
        if (count >= time )
        {
            window.clearInterval(interval);
            window.history.go(-1);
        }
    }, 1000);
</script>
</body>
</html>